home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / tool / yr / test.ray < prev    next >
Text File  |  1994-11-16  |  3KB  |  132 lines

  1.  
  2. /*******                サンプル                                *******/
  3. /*******        お題:ランニング マン(パロバージョン)            *******/
  4. /*******        (c)RAY&RULUE        tab 4            *******/
  5. /**/
  6. /*******                ★印のところに注目                        *******/
  7.  
  8.  
  9.  
  10. /*******        ★☆★ 作成する動画の枚数を宣言 ★☆★            *******/
  11. $fff(60)
  12.  
  13.  
  14. /*******        ★☆★ 出力画像のファイル名を自動生成 ★☆★    *******/
  15. output $ffn() ;
  16.  
  17.  
  18. /*******        ★☆★視点と注視点を適当に変化させる ★☆★        *******/
  19. camera
  20.     $ff0(500 -8)    $ff2(-300 -100)    $ff2(200 350)    /* ★視点を変化        */
  21.     0.0                0.0                $ff2(60 180)    /* ★注視点を変化    */
  22.     0.0        0.0        300.1
  23.     45.0
  24.     1.0;
  25.  
  26.  
  27. /* その他お約束の各種の設定 */
  28. display        320 180        0 0        319 179        1 1        1.0;
  29. rmode    0;
  30. anti    0    0.1;
  31. voxel    0;
  32. condition    3    0.05    1e-4    0;
  33. back_mode    0    0    0    0;
  34.  
  35. shadow    1;
  36. sky        0.0        0.0        0.0;
  37. env        0.2        0.2        0.2;
  38. mist    1000.0    0;
  39. e_light
  40. [
  41.     0.0    0.0    2    1.0    1.0    1.0        30    100;
  42. ]
  43.  
  44.  
  45. color
  46. [
  47. col_1  1.0 0.5 0.5  1.0 1.0 1.0  0.0 0.0 0.0  
  48.        1.5  0  0
  49.        0  1.0  100  ;                            /* 反射するであろう赤*/
  50.  
  51. col_2  1.0 0.0 0.0  1.0 1.0 1.0  0.0 0.0 0.0
  52.        1.0 0.0 0.0
  53.        0   1.0  30  ;                            /* アクセサリ中心    */
  54.  
  55. col_3  1.0 1.0 1.0  0.8 0.8 0.8  0.0 0.0 0.0
  56.        1.0 0.0 0.0
  57.        0   0.6  50  ;                            /* アクセサリの縁    */
  58.        
  59. ]
  60.  
  61.  
  62.  
  63. obj                                                /* 物体の形状の設定    */
  64. [:mz 160 :mz $ff6(20 0 10)                        /* 全体位置            */
  65.     [                                            /* 頭付胴体            */
  66.         [:rx10 :my -8 
  67.         2  col_1  1  0.0 0.0 93 48 ;            /* 頭                */
  68.             [                                    /* お団子            */
  69.             2  col_1  1   35 15 140 15;            /* 団子                */
  70.             2  col_1  1  -35 15 140 15;            /* 団子                */
  71.             2  col_3  1   35 11 140 12;            /* 縁                */
  72.             2  col_3  1  -35 11 140 12;            /* 縁                */
  73.             2  col_2  1   35  6 140  8;            /* 中心                */
  74.             2  col_2  1  -35  6 140  8;            /* 中心                */
  75.             ]
  76.         ]
  77.     2  col_1  1  0.0 0.0 0.0 60 ;                /* 胴体                */
  78.     ]
  79.     
  80.     [                                            /* 左腕                */
  81.     :mx90 :mz20 :ry-15
  82.     :rz -30
  83.     :rx $ff6(-90 0 20)                            /* ★左肩の角度★    */
  84.     2  col_1  1  0.0 0.0 0.0 40;                /* 肩                */
  85.         [                                        /* 肘下                */
  86.         :mz-80 :rx-90 :rx $ff6(-20 90 20)        /* ★左肘の角度★    */
  87.         2  col_1  1  0.0 0.0 0.0 40;            /* 肘                */
  88.         2  col_1  1  0.0 0.0 -80 40;            /* 手                */
  89.         ]
  90.     ]
  91.  
  92.     [                                            /* 右腕                */
  93.     :mx-90 :mz20 :ry15 :rz 30
  94.     :rx $ff6(90 0 20)                            /* ★右肩の角度★    */
  95.     2  col_1  1  0.0 0.0 0.0 40;                /* 肩                */
  96.         [                                        /* 肘下                */
  97.         :mz-80 :rx-90 :rx $ff6(20 90 20)        /* ★右肘の角度★    */
  98.         2  col_1  1  0.0 0.0 0.0 40;            /* 肘                */
  99.         2  col_1  1  0.0 0.0 -80 40;            /* 手                */
  100.         ]
  101.     ]
  102.  
  103.     [                                            /* 下半身            */
  104.     :mz-90 :my25  :rx0
  105.     :ry 0 :rz0                                    /* ☆腰の回転☆        */
  106.     2  col_1  1  0.0 0.0 0.0 50 ;
  107.  
  108.         [                                        /* 左足                */
  109.         :mz10 :mx 55
  110.         :rx-20 :rx $ff6(-40 0 20)                /*★左股関節の角度★*/
  111.         2  col_1  1  0.0 0.0 -65.0  50 ;        /* 腿                */
  112.             [                                    /* 膝下                */
  113.             :mz-165 :rx40 :rx $ff6(20 90 20)    /*★左膝の曲げ角度★*/
  114.             2  col_1  1  0.0 0.0  0.0  50;        /* 膝                */
  115.             2  col_1  1  0.0 0.0 -100  50;        /* 脛                */
  116.             2  col_1  1  0.0 0.0 -200  50;        /* 足首                */
  117.             ]
  118.         ]
  119.  
  120.         [                                        /* 右足                */
  121.         :mz10 :mx-55
  122.         :rx-20 :rx $ff6(-40 180 20)                /*★右股関節の角度★*/
  123.         2  col_1  1  0.0 0.0 -65.0  50 ;        /* 腿                */
  124.             [                                    /* 膝下                */
  125.             :mz-165 :rx40 :rx $ff6(20 -90 20)    /*★右膝の曲げ角度★*/
  126.             2  col_1  1  0.0 0.0  0.0  50;        /* 膝                */
  127.             2  col_1  1  0.0 0.0 -100  50;        /* 脛                */
  128.             2  col_1  1  0.0 0.0 -200  50;        /* 足首                */
  129.             ]
  130.         ]
  131.     ]
  132. ]